package rootPackage.controller;

import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;

import rootPackage.service.RicetteService;

public class RicetteController extends Controller {
    
    private RicetteService service= new RicetteService();
    
    @Override
    public Navigation run() throws Exception {
        requestScope("ricettaList", service.getAll());
        return forward("ricette.jsp");
    }
}
